differentiate tan x using the quotient rule